import {SAVETOKEN,SAVEUSERINFO,LAYOUTINFO} from './mutation-types'

export default {
    [SAVETOKEN](state,{token}){
        state.token=token
    },
    [SAVEUSERINFO](state,{userInfo}){
        state.userInfo=userInfo
    },
    [LAYOUTINFO](state,{layout}){
        state.layout=layout
    }
}